package com.zy.cat.entity.dev.act.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.zy.cat.entity.dev.act.APPActDBHistory;
import com.zy.cat.entity.dev.act.CatDailyDrawPrizeInfo;

public interface CatDailyDrawPrizeInfoRepository extends JpaSpecificationExecutor<CatDailyDrawPrizeInfo>,  JpaRepository<CatDailyDrawPrizeInfo, String>{
	List<CatDailyDrawPrizeInfo> findByPrizeStatusOrderBySortAsc(int prizeStatus);
	
	CatDailyDrawPrizeInfo findById(Integer id);
}
